import { combineReducers, configureStore } from "@reduxjs/toolkit";
import userReducer from "./user";
import dictReducer from "./dict";
import filterReducer from "./filter";
const store = configureStore({
  reducer: combineReducers({ 
    user: userReducer,
    dict: dictReducer,
    filter: filterReducer,
  }),
});

// Can still subscribe to the store
// store.subscribe(() => console.log(store.getState()))

export default store;
